// 导入发送请求的api接口
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 建议维修套餐主查询
export const findAll = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/proLabour/findAll`, {
  params
});

// 建议维修套餐查询
export const findPackage = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/proLabour/findPackage`, {
  params
});

// 新增建议维修套餐
export const save = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/repair/proLabour/save`, params);

// 修改建议维修项目
export const update = (params) => axios.put(`${SERVER.DMSCLOUD_REPAIR}/repair/proLabour/update`, params);

// 删除工时单价
export const deleteRow = (id) => axios.delete(`${SERVER.DMSCLOUD_REPAIR}/repair/proLabour/delete/${id}`, );


